From: Florian Müllner Date: Mon, 11 May 2026 13:16:16 +0000 (+0200) Subject: style: Give notifications on lock screen the same width as in session X-Git-Tag: archive/raspbian/50.5-1+rpi1^2~14^2^2~2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=3210e4ffaf493d4e359783f8b019eecf5d333535;p=gnome-shell.git style: Give notifications on lock screen the same width as in session There is no strong reason to use the same width as user list and prompt for notifications, in particular as the smaller width can make the notification's content appear more cramped. Instead, give notifications the same width as the message list in the session. Especially where we reuse the same component — namely media messages — this ensures consistent presentation. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/work_items/9218 Part-of: (cherry picked from commit 6b52520d9d0c3e8d918dd87bb2a04dc3122755a5) --- diff --git a/data/theme/gnome-shell-sass/widgets/_login-lock.scss b/data/theme/gnome-shell-sass/widgets/_login-lock.scss index 5929ccc57..cf8b0e5e8 100644 --- a/data/theme/gnome-shell-sass/widgets/_login-lock.scss +++ b/data/theme/gnome-shell-sass/widgets/_login-lock.scss @@ -295,7 +295,7 @@ $_gdm_dialog_width: 25em; .unlock-dialog-notifications-container { margin: $base_margin * 3; spacing: $base_padding; - width: $_gdm_dialog_width; + width: $_message_list_width; background-color: transparent; .summary-notification-stack-scrollview { diff --git a/data/theme/gnome-shell-sass/widgets/_message-list.scss b/data/theme/gnome-shell-sass/widgets/_message-list.scss index 55f0b0460..f38adfa7d 100644 --- a/data/theme/gnome-shell-sass/widgets/_message-list.scss +++ b/data/theme/gnome-shell-sass/widgets/_message-list.scss @@ -1,9 +1,10 @@ /* Message List */ // a.k.a. notifications in the menu +$_message_list_width: 29em; // main list .message-list { - width: 29em; + width: $_message_list_width; border: solid $borders_color; // padding and margins to account for scrollbar